cmake_minimum_required(VERSION 3.2)

add_custom_target(Filler2.py ALL COMMAND pyuic4 Filler2.ui -o Filler2.py)
add_custom_target(DatetimeDialog.py ALL COMMAND pyuic4 DatetimeDialog.ui -o DatetimeDialog.py)
add_custom_target(AboutDialog.py ALL COMMAND pyuic4 AboutDialog.ui -o AboutDialog.py)
add_custom_target(HistoryDialog.py ALL COMMAND pyuic4 HistoryDialog.ui -o HistoryDialog.py)

install(FILES __init__.py Filler2.py DatetimeDialog.py AboutDialog.py HistoryDialog.py ValueDialogs.py DESTINATION "${SZARP_PYLIBDIR}/filler2/ui")
